package com.bw.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bw.bean.Classes;
import com.bw.bean.Job;
import com.bw.bean.Student;
import com.bw.bean.Teachers;
import com.bw.bean.TestReturn;
import com.bw.dao.AddDao;
import com.bw.dao.JobDao;
import com.bw.service.AddService;
import com.bw.service.JobService;
@Service
public class AddServiceImpl implements AddService{
	@Autowired
	private AddDao AddDaoImpl;
	
	public List<TestReturn> getClasses() {
		// TODO Auto-generated method stub
		return AddDaoImpl.getClasses();
	}
	public int doAddStudent(Student student) {
		// TODO Auto-generated method stub
		return AddDaoImpl.doAddStudent(student);
	}
	public List<TestReturn> getTeacher() {
		// TODO Auto-generated method stub
		return AddDaoImpl.getTeacher();
	}
	public int doAddClasses(Classes classes) {
		// TODO Auto-generated method stub
		return AddDaoImpl.doAddClasses(classes);
	}
	public int doAddTeachers(Teachers teachers) {
		// TODO Auto-generated method stub
		return AddDaoImpl.doAddTeachers(teachers);
	}
	
}
